package com.mycar2w.cloud;

import com.umuw.cloud.core.feature.RedisManager;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;

/**
 * Create Time 2017-3-14
 * @author ljc
 * @version V1.0
 */
@SpringBootApplication
public class MyCar2WStart extends WebMvcConfigurerAdapter {
    @Bean
    public RedisManager redisManager(){return new RedisManager();}

    /**
     * 启动类
     * @param args 系统参数
     */
    public static void main(String[] args) {
        SpringApplication.run(MyCar2WStart.class, args);
    }

}